package com.utopia.keyvalue.utils;

import java.io.Serializable;

/**
 * @author yanjiaqiang
 * @date 2010-10-14
 * @version $Id: ByteSerializer.java 5 2011-03-22 09:23:42Z JiaqiangYan@gmail.com $
 */
public interface ByteSerializer extends Serializable {

	public byte[] toBytes();

	public void fromBytes(byte[] bs);

}
